home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / PROGTOOL / LIB211.ZIP;1 / USERID.TXT < prev    next >
Encoding:
Text File  |  1993-12-14  |  919 b   |  28 lines

  1. ----------
  2. USERID.TXT 
  3. ----------
  4. This is a short file used to show the use of USERID.BIN, written by 
  5. XXXXXXXX. (Currently unknown)
  6.  
  7. This can be downloaded with it's .ASM from the DBASE forum on
  8. CompuServe, Library 4, as USERID.ZIP.
  9.  
  10. This quick little routine is designed to check on your LAN for the 
  11. userid of the current user. This can then allow you to use the 
  12. information for a variety of purposes, by placing the returned value
  13. into a memory variable that you can work with in your programs.
  14.  
  15. The easiest use of it, is with the function by Angus Scott-Fleming, 
  16. in the file MISC.PRG in LIBXXX.ZIP. This function (USERID()) will do
  17. the work for you.
  18.  
  19. The basics are:
  20.  
  21. LOAD USERID.BIN
  22. cTEMP = space(48)
  23. CALL USERID WITH cTEMP
  24. RELEASE MODULE cTEMP
  25.  
  26. Also note, if you are using version 1.5 of dBASE IV, this routine is 
  27. completely unnecessary, as you can use the function ID(), instead.
  28.